import type { RouteRecordRaw } from 'vue-router';

import { BasicLayout } from '#/layouts';

const routes: RouteRecordRaw[] = [
  {
    component: BasicLayout,
    meta: {
      icon: 'lucide:car',
      order: 2,
      title: '车辆',
    },
    name: 'Car',
    path: '/car',
    redirect: '/car',
    children: [
      {
        name: 'carindex',
        path: '/carindex',
        component: () => import('#/views/car/index.vue'),
        meta: {
          icon: 'lucide:car-front',
          title: '车辆管理',
        },
      },
    ],
  },
];

export default routes;
